package com.wf.course.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.utils.page.PageBean;
import com.wf.course.model.goods.GoodsParam;

public interface IGoodsParamService {
	/**
	 * 根据pageBean中封装的查询条件查询
	 * @param pageBean
	 * @return
	 */
	public void indexInfo(PageBean<GoodsParam> pageBean);
	/**
	 * 添加或修改
	 * @param 
	 */
	public void saveOrUpdateGoodsParam(GoodsParam goodsParam,MultipartFile paramImg);
	/**
	 * 查询
	 * @param 
	 */
	public GoodsParam queryGoodsParamById(Integer id);
	/**
	 * 删除
	 * @param id
	 */
	public void deleteById(Integer id);
	/**
	 * 删除
	 * @param goodsId
	 */
	public void deleteByGoodsId(Integer goodsId);
	
	/**
	 * 查询
	 * @param 
	 */
	public List<GoodsParam> queryGoodsParamByCondition(Integer goodsId,Integer showFlag);
}
